
package com.anjiplus.template.gaea.business.modules.httppath.service;

import com.anji.plus.gaea.curd.service.GaeaBaseService;
import com.anjiplus.template.gaea.business.modules.httppath.controller.dto.HttpPathDto;
import com.anjiplus.template.gaea.business.modules.httppath.controller.param.HttpPathParam;
import com.anjiplus.template.gaea.business.modules.httppath.dao.entity.HttpPath;

import java.util.List;

/**
 * @author Raod
 * @desc DataSet 数据集服务接口
 * @date 2021-03-18 12:11:31.150755900
 **/

public interface HttpPathService extends GaeaBaseService<HttpPathParam, HttpPath> {

    /**
     * 单条详情
     *
     * @param id
     * @return
     */
    HttpPathDto getById(String id);

    List<HttpPath> queryAllHttpPaths();


    /**
     * 新增数据集、添加查询参数、数据转换
     *
     * @param dto
     */
    HttpPathDto insertSet(HttpPathDto dto);

    /**
     * 更新数据集、添加查询参数、数据转换
     *
     * @param dto
     */
    void updateSet(HttpPathDto dto);

    /**
     * 删除数据集、添加查询参数、数据转换
     *
     * @param id
     */
    void deleteSet(String id);


    void copy(HttpPathDto dto);
}
